#pragma once
#include <string>
#include "debuggableobject.h"
#include "renderableobject.h"
#include "mario.h"


class Player : public DebuggableObject, public RenderableObject
{
public:
	Player();
	Player(const std::string &name,const int live);
    virtual void PrintDebugInfo();
    virtual void Render();
	virtual void jump();
	bool collision(int move);
	virtual void fall();
	int x,y;
	int live_count;
	int _skok;
	int pozycja_skoku;
	float time;
	int _fall;

private:
	int animacja;
	bool kierunek;
    std::string _name;
};
